home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / PROGNG_C / TCXL21.LZH / TCXL.HST < prev    next >
Text File  |  1988-01-23  |  10KB  |  195 lines

  1.                              TCXL Revision History
  2.  
  3.  
  4. Version 2.1:
  5.             Added new functions.  See TCXL.DOC for full descriptions and
  6.             examples.
  7.                 wclreol  - clears to the end of the active window's line
  8.                 wgetc    - gets a character from the keyboard within active
  9.                            window
  10.                 wgetchf  - gets a character from the keyboard within active
  11.                            window, only allows characters from a given list
  12.                 wgets    - gets a string from the keyboard within active window
  13.                 wgetsf   - gets a string from the keyboard within active
  14.                            window, limits input to specified length
  15.                 wputsf   - prints a string in active window, formatting width
  16.                            of output
  17.                 wsize    - adjusts the size of the active window
  18.  
  19.             Expanded the window record structure (_wrecord) to include more
  20.             information useful for window management.  See TCXL.H for the
  21.             layout of the _wrecord structure.
  22.  
  23.             Modifed some of the existing functions.
  24.                 getchf  - optimized for better performance
  25.                 wactiv  - modified to work with new window record
  26.                 wclear  - modified to work with new window record
  27.                 wgotoxy - modified to work with new window record
  28.                 wmove   - modified to work with new window record, now returns
  29.                           a zero for no error or one of the return codes in
  30.                           the TCXL.H file
  31.                 wopen   - modified to work with new window record
  32.                 wprintc - modified to work with new window record
  33.                 wprints - modified to work with new window record
  34.                 wputc   - modified to work with new window record, now returns
  35.                           type void, fixed a bug which caused it not to work
  36.                           sometimes
  37.                 wputs   - changed return type to void and optimized for better
  38.                           performance, also now recognized the backspace '\b'
  39.                           character
  40.                 wscroll - modified to work with new window record
  41.  
  42.  
  43. Version 2.0:
  44.             Added a new window task manager which simpilfies use of windowing.
  45.             Several of the windowing functions' syntax have been changed and
  46.             some have been added.  See TCXL.DOC for full descriptions and
  47.             examples.
  48.                 wopen     - now returns a window handle instead of a pointer
  49.                 wclose    - closes the currently active window
  50.                 wactiv    - new function, activates a currently open window
  51.                             using the window handle returned by wopen()
  52.                 wclear    - clears the currently active window
  53.                 wgotoxy   - plots cursor coordinates in currently active window
  54.                 wmove     - moves currently active window to a new location
  55.                 wprintc   - prints a character in the active window, now
  56.                             returns a 1 if cursor placement error occurred
  57.                 wprints   - prints a string in the active window, now returns a
  58.                             1 if cursor placement error occurred, now provides
  59.                             wrap-around and scrolling, now also will recognize
  60.                             line feed ('\n') characters in string
  61.                 wputc     - prints a character in currently active window at
  62.                             current cursor location, uses attribute set by the
  63.                             wtextattr() function
  64.                 wputs     - prints a string in currently active window at the
  65.                             current cursor location, uses attribute set by the
  66.                             wtextattr() function
  67.                 wscroll   - scrolls text in the currently active window
  68.                 wtextattr - sets the default text attribute for several of the
  69.                             windowing functions
  70.             Deleted the wswap() and wswapx() functions as wactiv() takes their
  71.             place.  Added global variables to assist in managing the windows.
  72.                 _wrecord   - an array of structures that contain window handles
  73.                              and window buffer pointers.  See TCXL.H
  74.                 _wcurrent  - contains the array subscript of the window that is
  75.                              currently active
  76.                 _wtextattr - contains the default window text attribute
  77.  
  78.             Added several new functions.  See TCXL.DOC for full descriptions
  79.             and examples.
  80.                 clockcal - checks for presence of clock/calendar card in XT
  81.                 extmem   - determines the amount of AT extended memory
  82.                 getktot  - gets total size of a disk drive in kilobytes
  83.                 machid   - returns the ROM signature byte
  84.                 scrndump - sends contents of text screen to printer
  85.                 timer    - returns the value of the BIOS timer
  86.  
  87.             Revised/changed several functions.
  88.                 biosver  - now returns pointer to static string instead of
  89.                            allocated string, so DON'T use free() on the
  90.                            string.  Also now independent of Turbo C library.
  91.                 box      - fixed a bug that caused this function to misbehave
  92.                            when using the small memory model
  93.                 boxd     - fixed a bug that caused this function to misbehave
  94.                            when using the small memory model
  95.                 spc      - optimized performance
  96.                 strleft  - fixed a minor bug occurring on allocation error
  97.                 strmid   - fixed a minor bug occurring on allocation error
  98.                 strright - fixed a minor bug occurring on allocation error
  99.                 waitkey  - now returns the key pressed
  100.  
  101.             Borland recently released Turbo C Version 1.5.  Included in their
  102.             standard library now are the functions clreol(), delay(), gotoxy(),
  103.             and sound().  These functions are similar but not identical to
  104.             the TCXL functions of the same name.  To provide compatibility
  105.             with the new Turbo C 1.5 library, I have renamed the affected TCXL
  106.             functions.
  107.                 clreol  ->  clreol_
  108.                 delay   ->  delay_
  109.                 gotoxy  ->  gotoxy_
  110.                 sound   ->  sound_
  111.             Also in Turbo C 1.5, Borland included macros for the text mode
  112.             colors in GRAPHICS.H.  To provide compatibility with Turbo C 1.5,
  113.             many of the macros for colors in the TCXL.H file have been renamed.
  114.                 YELLOW      ->  BROWN
  115.                 WHITE       ->  LGREY
  116.                 IBLACK      ->  DGREY
  117.                 IBLUE       ->  LBLUE
  118.                 IGREEN      ->  LGREEN
  119.                 ICYAN       ->  LCYAN
  120.                 IRED        ->  LRED
  121.                 IMAGENTA    ->  LMAGENTA
  122.                 IYELLOW     ->  YELLOW
  123.                 IWHITE      ->  WHITE
  124.                 _YELLOW     ->  _BROWN
  125.                 _WHITE      ->  _LGREY
  126.  
  127.  
  128. Version 1.6:
  129.             Added a new function.  See TCXL.DOC for description.
  130.                 tabstop - calculates the next tab stop from current cursor
  131.                           location
  132.  
  133.             Fixed a problem in the sound() function that caused it not to work
  134.             to work in some machines.
  135.  
  136.             Optimized performance of several functions.
  137.                 boxd
  138.                 delay
  139.                 filld
  140.                 getchf
  141.                 printcd
  142.                 printsd
  143.                 sound
  144.                 strsetsz
  145.                 wclear
  146.                 whide
  147.                 wmove
  148.                 wscroll
  149.  
  150.  
  151. Version 1.5:
  152.             Added several new functions.  See TCXL.DOC for full descriptions
  153.             and examples.
  154.                 clrwin  - clears a window of the CGA screen
  155.                 setattr - sets the attribute of character under cursor
  156.                 wclear  - clears an open window
  157.                 whide   - hides an open window
  158.                 wgotoxy - plots cursor coordinates within an open window
  159.                 wprintc - prints a character within an open window
  160.                 wprints - prints a string within an open window
  161.                 wscroll - scrolls text within an open window
  162.                 wswap   - swaps 2 windows, the back becomes the front
  163.                 wswapx  - swaps 3 windows, the back becomes the front
  164.                 wunhide - reveals a previously hidden open window
  165.  
  166.             Revised/changed several functions.  See TCXL.DOC for full
  167.             descriptions and examples.
  168.                 getchf  - now returns character typed but still provides
  169.                           automatic checking for the Escape key
  170.                 lprintc - changed 'ch' parameter in prototype to type 'int'
  171.                 revattr - added a 'count' parameter
  172.                 striocc - changed 'ch' parameter in prototype to type 'int'
  173.                 strocc  - changed 'ch' parameter in prototype to type 'int'
  174.                 wprintc - changed 'ch' parameter in prototype to type 'int'
  175.  
  176.              Optimized performance of several functions.
  177.                 box
  178.                 boxd
  179.                 fill
  180.                 getchf
  181.                 gotoxy
  182.                 printc
  183.                 prints
  184.                 prompts
  185.                 ssave
  186.                 strdel
  187.                 stridel
  188.                 wmove
  189.                 wopen
  190.  
  191.  
  192. Version 1.0:
  193.             Initial release.
  194. 
  195.